package com.example.mygrade.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.example.mygrade.domain.ClassInfo;
import com.example.mygrade.domain.Major;
import lombok.Data;

@Data
public class importMajor {

    @Excel(name = "专业编号",width = 10.0)
    private String mid;

    @Excel(name = "专业名称",width = 10.0)
    private String majorname;
    @Excel(name = "院系编号",width = 10.0)
    private Integer deptid;

    public importMajor(Major major){
        this.mid = major.getMid();
        this.majorname = major.getMajorname();
        this.deptid = major.getDeptid();
    }
}

